package com.wicket.okrapp.biz.service.dto.common;
import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc TargetCyclePsetDto
     * @使用场景
     */
    @Data
    public class TargetCyclePsetDto extends BaseDto  implements Serializable {
      
    /**
     * 目标周期规划设置ID 
     */
    @NotNull(message = "目标周期规划设置ID不能为空")
@ApiModelProperty("目标周期规划设置ID")
    private String	 targetCyclePlanSetId;

    /**
     * 计划验收时间 
     */
    @ApiModelProperty("计划验收时间")
    private Date	 acceptancePlanTime;
/**
     * 归属被评对象目标周期ID 
     */
    @NotNull(message = "归属被评对象目标周期ID不能为空")
@ApiModelProperty("归属被评对象目标周期ID")
    private String	 evaObjTargetCycleId;
/**
     * 目标实际开始时间 
     */
    @ApiModelProperty("目标实际开始时间")
    private Date	 targetActualStartTime;

    /**
     * 目标实际结束时间 
     */
    @ApiModelProperty("目标实际结束时间")
    private Date	 targetActualEndtTime;
/**
     * 目标周期简称 
     */
    @ApiModelProperty("目标周期简称")
    private String	 cyclelAlias;
/**
     * 周期名称
     */
    @ApiModelProperty("周期名称")
    private String	 cycleStandardName;
/**
     * 实际验收时间 
     */
    @ApiModelProperty("实际验收时间")
    private Date	 acceptanceActualTime;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      TargetCyclePsetDto that = (TargetCyclePsetDto) o;
      return  targetCyclePlanSetId == that.targetCyclePlanSetId&&acceptancePlanTime == that.acceptancePlanTime&&evaObjTargetCycleId == that.evaObjTargetCycleId&&targetActualStartTime == that.targetActualStartTime&&targetActualEndtTime == that.targetActualEndtTime&&cyclelAlias == that.cyclelAlias&&cycleStandardName == that.cycleStandardName&&acceptanceActualTime == that.acceptanceActualTime;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), targetCyclePlanSetId,acceptancePlanTime,evaObjTargetCycleId,targetActualStartTime,targetActualEndtTime,cyclelAlias,cycleStandardName,acceptanceActualTime);
    }
    
      

    }
   